

package com.br.utils;

import javax.swing.JDialog;


/**
 *
 * @author Cassiano
 */
public class Util {
    
    public static void centralizar(JDialog janela) {
        janela.setLocationRelativeTo(null);
    }
    
    public static void naoRedimensionar(JDialog dialog) {
        dialog.setResizable(false);
    }
   
}
